package com.zhangxin.designmode.fiveprinciple.lod.before;

/**
 *
 * @author zhangxin
 * @date 2022/4/15
 */
public class Document {
    private Html html;
    private String url;

    public Document(String url){
        this.url = url;
        HtmlDownloader downloader = new HtmlDownloader();
        this.html = downloader.downloadHtml(url);
    }
}
